importClass(Packages.org.framework2.utils.XMLReader);

var xmlData = request.getParameter('xmlData');
print('请求的参数2:' + xmlData);
var xmlReader = new XMLReader(xmlData);
var transID = xmlReader.getNodeText('TestCase.ProcID');

var ret = '<?xml version="1.0" encoding="UTF-8"?>';
ret += '<TestCase>';
ret += '<ProcID>' + transID + '</ProcID>';
ret += '<Code>000000</Code>';
ret += '<Desc>[Test平台]第二次请求处理成功!</Desc>';
ret += '</TestCase>';
response.write(ret);

// 开启新的线程